﻿<UserControl x:Class="WiFiChannelSpread.ChannelHeader" x:Name="MyRoot"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="25" d:DesignWidth="30">
    <Grid>
        <Border Background="Black" VerticalAlignment="Top" HorizontalAlignment="Stretch" Height="20">
            <Border.Effect>
                <DropShadowEffect BlurRadius="5" Color="Black" Direction="270" Opacity="0.5" ShadowDepth="3" />
            </Border.Effect>
            <Label Name="NumberLabel" Padding="1" Foreground="White" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" Content="{Binding ElementName=MyRoot, Path=ChannelNumber}"></Label>
        </Border>
    </Grid>
</UserControl>
